﻿using System.Windows.Controls;

namespace SLP
{
    public static class TreeViewExtensions
    {
        public static bool HasChildren(this TreeViewItem Source)
        {
            try { if (Source.Items.Count > 0) return true; } catch { }
            return false;
        }
    }
}
